set IntDir=%1
set SolutionDir=%2
set WindowsSdkDir=%3
set WindowsSdkDir=%WindowsSdkDir:~1%
set WindowsSdkDir=%WindowsSdkDir:~0,-1%
set ConfigurationName=%4
set Interop=UIAutomationClient

midl /nologo /char signed /env win32  /tlb "%IntDir%\%Interop%.tlb" /h "%IntDir%\%Interop%_h.h" "%WindowsSdkDir%\include\%Interop%.idl"

tlbimp /silent /out:%IntDir%\Interop.%Interop%.dll /namespace:Interop.%Interop% %IntDir%\%Interop%.tlb
